package com.powernode.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
 * @Author: 曾铖坚
 * @Date: 2024/10/11 11:53
 * @Version: 1.0.0
 */
@Controller
public class HelloController {
    @RequestMapping(value = "/hello")
    public String hello(){
        System.out.println("HelloController#hello()");
        return "hello";
    }
}
